package vip.xiaonuo.hontu.issued.response;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
public class DeviceListQueryResponse {

    /**
     * code
     */
    @JSONField(name = "code")
    private Integer code;
    /**
     * data
     */
    @JSONField(name = "data")
    private DataDTO data;
    /**
     * msg
     */
    @JSONField(name = "msg")
    private String msg;

    @NoArgsConstructor
    @Data
    public static class DataDTO {

        private Integer pageNum;

        private Integer pageSize;

        private Integer total;

        private List<DeviceInfo> list;


    }

}
